<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><s:if test="%{employee==null}"> 添加员工 </s:if>
 <s:else>员工详细信息 </s:else></title>
<sj:head />
<script src="js/jquery.validate.js" type="text/javascript"></script> 
<script src="js/messages_cn.js" type="text/javascript"></script>  
<style type="text/css"> 
#emform { }
#emform label { }
#emform label.error, #emform input.submit {  }

</style> 

</head>
<body>
<div id="main">
<p>
 <h2>员工详细信息</h2>
</p>
  <div>
  <div id="siminfo">
姓名：<s:property value="employee.name" /> 
  部门：<a href="befordapupd?id=<s:property value="employee.myeDepartment.id" />"><s:property value="employee.myeDepartment.name" /></a>
<a href="salaryAction!searchById?id=<s:property value="employee.myPay.id" />">工资信息</a>
<a href="hremAction!edit?id=<s:property value="employee.id" />">编辑</a>

  </div>
<div id="moreinfo">
	<h3>奖惩信息：</h3>
	<ul>
	<s:iterator value="employee.mycCjs">
	<li><a href="hremAction!edit?id=<s:property value="id" />"><s:property value="type" /></a></li>
	</s:iterator>
	</ul>
	<h3>培训信息：</h3>
	<ul>
	<s:iterator value="employee.mytTrains">
	<li><a href="train!findByIds?id=<s:property value="id" />"><s:property value="name" /></a></li>
	</s:iterator>
	</ul>
</div>
<div>
<h3>员工个人信息：</h3>
     <table >
     <tr>

     <td>ID</td>
      <td><s:property value="employee.id" /></td>
</tr>

   <tr>
 <td>性别</td>
    <td>  
     <s:property value="employee.sex" /></td>
</tr>
 <tr>
    <td>帐号</td>
    <td> <s:property value="employee.employeeacc" /></td>
  </tr>
  <tr>
    <td>年龄</td>
    <td> <s:property value="employee.age" /></td>
 </tr>

 <tr>
    <td>身份证号</td>
    <td><s:property value="employee.identifycation" /></td>
  </tr>
  <tr>
    <td>出生日期</td>
    <td>
    <s:property value="employee.birthday" /> </td>
</tr>
 <tr>
    <td>民族</td>
    <td> <s:property value="employee.nationality" /></td>
  </tr>
  <tr>
    <td>是否结婚</td>
    <td><s:if test="%{null!=employee&&1==employee.isMarried}"> 是 </s:if><s:else> 否 </s:else></td>
  </tr>
 <tr>
    <td>政治面貌</td>
    <td><s:property value="employee.politics" /></td>
  </tr>

  <tr>
    <td>籍贯</td>
    <td><s:property value="employee.birthplace" /></td>
   </tr>
 <tr>
    <td>电话</td>
    <td> <s:property value="employee.telphone" /></td>
  </tr>
  <tr>
    <td>住址</td>
    <td>  <s:property value="employee.address" /></td>
   </tr>
 <tr>
    <td>毕业学校</td>
    <td><s:property value="employee.graduatedSchool" /></td>
  </tr>
  <tr>
    <td>所学专业</td>
    <td><s:property value="employee.specialize" /></td>
    </tr>
 <tr>
    <td>文化程度</td>
    <td><s:property value="employee.education" /></td>
  </tr>

 <tr>
    
    <td>工种</td>
    <td><s:property value="employee.workType" /></td>

  </tr>
  <tr>
    
    <td>开始工作时间</td>
    <td><s:property value="employee.firstWorkTime" /> </td>
   </tr>
 <tr>
    <td>登记时间</td>
      <td><s:property value="employee.regedisTtime" /> </td>
  </tr>
   <tr>
    <td>登记人</td>
    <td><s:property value="employee.regedistName" /></td>
   </tr>
 <tr>
    <td>备注信息</td>
    <td><s:property value="employee.remark" /></td>
  </tr>
</table>
   </div>

  </div>
  <a href="hremAction!emPageList">返回列表</a>
  <s:debug></s:debug>
</div>
</body>
</html>